import { Login } from "@/api/interface/index";
import { PORT1 } from "@/api/config/servicePort";
// import qs from "qs";

import http from "@/api";

/**
 * @name 回收模块
 */
// 回收列表
export const recoveryList = (params: any) => {
    return http.get<Login.ResLogin>(PORT1 + `/recovery_order/list`, {}, { params });
};
export const recoveryInfo = (params: any) => {
    return http.get<Login.ResLogin>(PORT1 + `/recovery_order/info`, {}, { params });
};
// 新增回收数据弹窗 下拉的动态数据
export const recoveryTransaction = () => {
    return http.get<Login.ResLogin>(PORT1 + `/recovery_transaction/all`, {});
};
export const recoveryChannel = () => {
    return http.get<Login.ResLogin>(PORT1 + `/recovery_channel/all`, {});
};
export const dynamicTpl = (params: any) => {
    return http.get<Login.ResLogin>(PORT1 + `/recovery_order/recovery_dynamic_tpl`, {}, { params });
}
export const relationOrder = (params: any) => {
    return http.get<Login.ResLogin>(PORT1 + `/recovery_order/get_number_order_list`, {}, { params });
}

